﻿using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using billtracker.Models;

namespace billtracker.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
           billDBContext db = new billDBContext();
            var bill = db.Bill.Include(b => b.Frequency);
            return View(bill.ToList());
        }

        public ActionResult About()
        {
            return View();
        }
    }
}
